﻿namespace CV.Interfaces.Bll
{
    using CV.Entities.Dto;
    using System;
    using System.Collections.Generic;

    public interface IUserService
    {
        User GetUserById(Guid id);
        User Create(User user);
        IEnumerable<User> List(int page, string sort, bool asc, out int count);
        void Delete(Guid id);
        void Update(User user);
        IEnumerable<User> ListAll();
        bool ValidateUser(string username, string password);
    }
}
